package com.example.framework.generator.run;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "generatorcode", description = "代码生成")
public class GeneratorCode {

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "表名称。支持多个表名拼接，如：t_user_info,t_log", required = true)
    @NotBlank(message = "表明不能为空")
    private String tableName;

}